package com.ruoyi.common.consts;

/**
 * 常见的告警类型
 */
public enum AlarmTypeEnum {
    FAULT("12001", "故障"),
    OFFLINE("12002", "离线"),
    ;

    private String code;
    private String name;

    AlarmTypeEnum(String code, String name){
        this.code = code;
        this.name = name;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
